#nav_main {
    padding: 15px 0 0 45px;
    position: relative;

    border-bottom: 3px solid green;
}

#nav_main:after {
    content: '.';
    display: block;
    height: 0;
    height: 0;
    font-szie: 0;
    clear: both;
    visibility: hidden;
}

#nav_main ul {
    font-weight: 700;
}

#nav_main ul li {
    position: relative;
    float: left;
    margin-right: 2px;
    display: inline;
}

#nav_main ul li a {
    float: left;
    padding-left: 1px;
    text-align: center;
    cursor: pointer;
    background: url(http://imgcache.qq.com/vipstyle/vipportal_v3/img/global/bg_nav.png) no-repeat 0 -130px;
    line-height: 31px;
}

#nav_main ul li a span {
    display: inline-block;
    background: url(http://imgcache.qq.com/vipstyle/vipportal_v3/img/global/bg_nav.png) no-repeat right -130px;
    width: 100px;
}

#nav_main ul .current {

}

#nav_main ul .current a {
    color: white;
    background-position: 0 -170px;
}

#nav_main ul .current a span {
    background-position: right -170px;
}

#nav_main .on {
    border-bottom: 3px solid #EBEBEB;
    margin-bottom: -5px;
}

#nav_main .on .nav_sub {
    position: absolute;
    top: 31px;
    left: 0;
    padding: 1px 0 15px;
    min-width: 200px;
    border-left: 1px solid green;
    border-right: 1px solid green;
    border-bottom: 1px solid green;
}

#nav_main .on .nav_sub ul li {
    display: block;
    float: none;
    padding: 0 10px;
    text-align: left;
}

#nav_main .on .nav_sub div {
    height: 15px;
}

#nav_main .on .nav_sub ul li a {
    color: #325E7F;
    background: none repeat scroll 0 0 transparent;
    float: none;
    font-size: 12px;
    font-weight: normal;
    line-height: 21px;
    padding: 0 5px;
}